<?php

namespace frontend\assets;

use yii\web\AssetBundle;

/**
 * Main frontend application asset bundle.
 */
class AppAsset extends AssetBundle
{
    public $basePath = '@webroot';
    public $baseUrl = '@web';
    public $css = [
        'css/site.css',
        'css/animate.css',
        'css/icomoon.css',
        'css/magnific-popup.css',
        'css/owl.carousel.min.css',
        'css/owl.theme.default.min.css',
        'css/style.css',
        'css/themify-icons.css',
    ];
    public $jsOptions = [
        'position' => \yii\web\View::POS_HEAD,   // 这是设置所有js放置的位置
    ];
    public $js = [
        'js/jquery.min.js',
        'js/jquery.easing.1.3.js',
        'js/jquery.waypoints.min.js',
        'js/owl.carousel.min.js',
        'js/jquery.countTo.js',
        'js/jquery.magnific-popup.min.js',
        'js/magnific-popup-options.js',
        'js/main.js',
        'js/jquery.stellar.min.js',
        'js/modernizr-2.6.2.min.js',
        'js/respond.min.js',

    ];

    public $img = [
        'img/img_1.jpg',
//        'img/img_2.jpg',
    ];
    public $depends = [
        'yii\web\YiiAsset',
        'yii\bootstrap\BootstrapAsset',
    ];
}
